﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_clerk.aspx.cs" Inherits="MxWeiXinPF.Web.admin.users.user_clerk" %>
<%@ Import namespace="MxWeiXinPF.Common" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑用户</title>
<script type="text/javascript" src="../../scripts/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="../../scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
<script type="text/javascript" src="../../scripts/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.queue.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.handlers.js"></script>
<script type="text/javascript" src="../js/layout.js"></script>
<link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $(function () {
        //初始化表单验证
        $("#form1").initValidform();
        //初始化上传控件
        $(".upload-img").each(function () {
            $(this).InitSWFUpload({ sendurl: "../../tools/upload_ajax.ashx", flashurl: "../../scripts/swfupload/swfupload.swf" });
        });
    });
</script>
</head>

<body class="mainbody">
<form id="form1" runat="server">
<!--导航栏-->
<div class="location">
  <a href="user_list.aspx" class="back"><i></i><span>返回列表页</span></a>
  <a href="../center.aspx" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <span>会员管理</span>
  <i class="arrow"></i>
  <span>指定店铺</span>
</div>
<div class="line10"></div>
<!--/导航栏-->

<!--内容-->
<div class="content-tab-wrap">
  <div id="floatHead" class="content-tab">
    <div class="content-tab-ul-wrap">
      <ul>
        <li><a href="javascript:;" onclick="tabs(this);" class="selected">基本资料</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="tab-content"><input id="hshopid" type="hidden" runat="server" /><input id="hid" type="hidden" runat="server" />
<dl>
    <dt>指定店铺</dt>
    <dd>
       <asp:TextBox ID="tbparentname" runat="server" CssClass="input normal"  sucmsg=" "></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="查找" CssClass="btn" OnClick="bnSelectUser_Click" />
    </dd>
  </dl> 
  <dl>
    <dt>用户昵称</dt>
    <dd><asp:TextBox ID="txtNickName" runat="server" CssClass="input normal"></asp:TextBox></dd>
  </dl>
  <dl>
    <dt>用户头像</dt>
    <dd>
      <asp:Image ID="img" runat="server" Width="80px" Height="120px" />
    </dd>
  </dl>
</div>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-list">      
    <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" onclick="btnSubmit_Click" />
    <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
  </div>
  <div class="clear"></div>
</div>
<!--/工具栏-->
 <div id="DivDoctorList" runat="server" style="width: 800px; position: absolute; border: #E4E4E4 8px solid;
        top: 30%; left: 30%; display: none">
        <div id="Div1" runat="server" style="width: 800px; background-color: #4AB5DF; text-align: right;
            line-height: 24px;">
            <span style="color: #FFFFFF; font-size: 14px; float: left; padding-left: 10px;">选择所属店铺：
            </span>
            <asp:ImageButton ID="ImageButton1" ImageUrl="~/images/w3.jpg" runat="server" OnClick="ImageButton1_Click" />
        </div>
        <asp:DataGrid ID="dgUser" runat="server" Width="100%" AutoGenerateColumns="False"
            BackColor="#ffffff" BorderColor="#DEDFDE" BorderWidth="1px" 
            CellPadding="4" ForeColor="#000000"
            GridLines="Vertical" Height="30px" ItemStyle-HorizontalAlign="Center" HeaderStyle-CssClass="HeaderStyle"
            HeaderStyle-HorizontalAlign="Center" OnItemCommand="dgUser_ItemCommand" BorderStyle="None"
            Font-Names="微软雅黑" PageSize="30">
            <PagerStyle BackColor="#f3f4f4" ForeColor="#000000" HorizontalAlign="Right" Mode="NumericPages" />
            <AlternatingItemStyle BackColor="White" />
            <ItemStyle HorizontalAlign="Center" BackColor="#f3f4f4" Font-Bold="False" Height="35px"></ItemStyle>
            <Columns>
                <asp:BoundColumn DataField="id" ReadOnly="True" HeaderText="用户ID" Visible="false">
                </asp:BoundColumn>
                <asp:BoundColumn DataField="id" ReadOnly="True" HeaderText="id" Visible="false">
                </asp:BoundColumn>
                <asp:BoundColumn DataField="real_name" ReadOnly="True" HeaderText="店铺名称" Visible="false">
                </asp:BoundColumn>
                <asp:TemplateColumn SortExpression="real_name" HeaderText="店铺名称" ItemStyle-Wrap="False">
                    <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
                    <ItemStyle Wrap="False"></ItemStyle>
                    <ItemTemplate>
                        <asp:LinkButton ID="lkbName" runat="server" ForeColor="Black" CommandName="SelectName"><%# DataBinder.Eval(Container.DataItem, "real_name")%></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateColumn>
                 <asp:BoundColumn DataField="telephone" ReadOnly="True" HeaderText="联系电话" Visible="false">
                </asp:BoundColumn>                     
            </Columns>
            <FooterStyle BackColor="#CCCC99" />
            <SelectedItemStyle BackColor="#CE5D5A" ForeColor="White" Font-Bold="True" />
            <HeaderStyle HorizontalAlign="Center" BackColor="#DDDDDD" Font-Bold="True" ForeColor="Black" Height="35px">
            </HeaderStyle>
        </asp:DataGrid>
    </div>
</form>
</body>
</html>
